package com.atwulidun.facade09;

public class Projector {
    // 饿汉式
    private static final Projector instance = new Projector();

    public static Projector getInstance() {
        return instance;
    }

    public static void on() {
        System.out.println("Projector on");
    }

    public static void off() {
        System.out.println("Projector off");
    }

    public static void focus() {
        System.out.println("Projector is focusing");
    }
}
